#pragma once

#include "core/kobject.h"

namespace renderit
{
	namespace messiah
	{
		class repo_item;

		class iresource : public core::kobject
		{
		public:
			iresource(repo_item* item)
				: item_(item)
			{

			}
		public:
			virtual ~iresource() {}

		public:
			virtual bool load_resource() = 0;

		protected:
			repo_item * item_;
		};

		typedef core::ref_ptr<iresource> iresource_ptr;
	}    
}